﻿<%@ Page Language="C#" MasterPageFile="~/Site.Master" AutoEventWireup="true" CodeBehind="Guide.aspx.cs"
    Inherits="AppShare.Web.Guide" %>

<%@ Register Assembly="AppShare.Web" Namespace="AppShare.Web.Controls" TagPrefix="xsk" %>
<%@ OutputCache Duration="7200" VaryByParam="*" VaryByCustom="Browser" %>
<asp:Content ContentPlaceHolderID="HeaderContent" runat="server">
</asp:Content>
<asp:Content ContentPlaceHolderID="MainContent" runat="server">
    <asp:Repeater ID="wikiRender" runat="server">
        <HeaderTemplate>
            <h1>
                <%= Wiki.Header %></h1>
            <p>
                <b>作者：<%= Wiki.Author %></b></p>
            <p>
                <b>日期：<%= Wiki.PublishDate %></b></p>
        </HeaderTemplate>
        <ItemTemplate>
            <xsk:WikiContent class="wiki-content" runat="server" DataContext='<%# Eval("P") %>' />
        </ItemTemplate>
        <FooterTemplate>
            <p>
                <%= Wiki.Footer %></p>
        </FooterTemplate>
    </asp:Repeater>
</asp:Content>
